package com.example.http;

import com.alibaba.fastjson.JSONObject;
import com.example.model.FormMulit;

import java.io.InputStream;
import java.util.Map;

/**
 * @Classname HttpRequestServer
 * @Description TODO
 * @Date 2023/4/24 14:57
 * @Created by XiongXiong
 * @Author: X.I.O
 */
public class HttpRequestServer {

    private Map<String,String> heards;

    private String requestMethod;

    private String path;

    private Map<String,String> queryMap;

    private Map<String,Object> formData;

    private Map<String, FormMulit> mulitMap;

    private JSONObject json;

    private String ip;

    private InputStream inputStream;

    public JSONObject getJson() {
        return json;
    }

    public void setJson(JSONObject json) {
        this.json = json;
    }

    public Map<String, String> getHeards() {
        return heards;
    }

    public void setHeards(Map<String, String> heards) {
        this.heards = heards;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Map<String, String> getQueryMap() {
        return queryMap;
    }

    public void setQueryMap(Map<String, String> queryMap) {
        this.queryMap = queryMap;
    }

    public Map<String, Object> getFormData() {
        return formData;
    }

    public void setFormData(Map<String, Object> formData) {
        this.formData = formData;
    }

    public Map<String, FormMulit> getMulitMap() {
        return mulitMap;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public void setMulitMap(Map<String, FormMulit> mulitMap) {
        this.mulitMap = mulitMap;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }
}
